<%= form_for(@project) do |f| %>
<% if @project.errors.any? %>
<div id="error_explanation">
  <h2><%= pluralize(@project.errors.count, "error") %> prohibited this project from being saved:</h2>

  <ul>
    <% @project.errors.full_messages.each do |msg| %>
    <li>
      <%= msg %>
    </li>
    <% end %>
  </ul>
</div>
<% end %>
<div class="field">
  <%= f.label :title %>
  <br />
  <%= f.text_field :title %>
</div>
<div class="field">
  <%= f.label :projectnum %>
  <br />
  <%= f.text_field :projectnum %>
</div>
<div class="field">
  <%= f.label :summary %>
  <br />
  <%= f.text_field :summary %>
</div>
<div class="field">
  <%= f.label :description %>
  <br />
  <%= f.text_area :description %>
</div>
<div class="actions">
  <%= f.submit %>
</div>
<% end %>
